; Fixing the motor screws
M291 R"Z Motor Screw Tightening" P"Lower the build plate and tighten the Z motor mounting screws" S4 K{"Test","Skip","Cancel"}
if input == 1
    M99
elif input == 2
    abort "Test cancelled by user"

M913 Z60 ; Reduce Z-axis current for safe manual movement
M84 Z ; Disable Z motors
G91 ; Relative positioning

M564 H0 ; Allow movement without homing
M291 R"Position Build Plate" P"Lower the build plate and hold the Z motors from below while tightening the mounting screws." Z1 S3
M564 H1 ; Re-enable movement restrictions

M913 Z100 ; Reset Z-axis current to 100%
G90 ; Absolute positioning
M84